package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;
import java.util.List;

public class GetCPAppealPageReqDto extends CommonReqDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 楼盘ID
	 */
	private String premisesId;
	
	/**
	 * 楼盘ID的集合
	 */
	private List<Long> premisesIds;
	/**
	 * 页码
	 */
	@TYWValid(min = 1, max = 10)
	private Integer pageNo;
	
	/**
	 * 页数
	 */
	@TYWValid(min = 1, max = 10)
	private Integer pageSize;
	
	/**
	 * 模糊搜索
	 * 客户手机、姓名、意向楼盘
	 */
	@TYWValid(min = 0)
	private String name;
	/**
	 * 中介公司
	 */
	@TYWValid(min = 0)
	private String companyId;
	/**
	 * 经纪人
	 */
	@TYWValid(min = 0)
	private String agentId;
	/**
	 * 申诉开始时间
	 */
	@TYWValid(min = 0)
	private String appealTimeBefore;
	/**
	 * 申诉结束时间
	 */
	@TYWValid(min = 0)
	private String appealTimeAfter;


	/**
	 * 报备方式 0都不能看 1全号 2隐号 3全部都可以看
	 */
	private String roleReportWay;

	/**
	 * 有权限看的人
	 */
	private List<Long> canViewPartnerIds;

	/**
	 * 有权限看的楼盘报备（选择本部）
	 */
	private List<Long> canViewPremisesIds;

	private String deptPermission;

	private Boolean hideAgentPhone;
	
	/**
	 * 是否查询全部楼盘标识，用于案场助手查询，如果是，则不再按照premisesIds条件进行查询
	 */
	private Boolean allPremisesFlag;

	public String getRoleReportWay() {
		return roleReportWay;
	}

	public void setRoleReportWay(String roleReportWay) {
		this.roleReportWay = roleReportWay;
	}

	public List<Long> getCanViewPartnerIds() {
		return canViewPartnerIds;
	}

	public void setCanViewPartnerIds(List<Long> canViewPartnerIds) {
		this.canViewPartnerIds = canViewPartnerIds;
	}

	public Integer getPageNo() {
		return pageNo;
	}
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public String getAgentId() {
		return agentId;
	}
	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}
	public String getAppealTimeBefore() {
		return appealTimeBefore;
	}
	public void setAppealTimeBefore(String appealTimeBefore) {
		this.appealTimeBefore = appealTimeBefore;
	}
	public String getAppealTimeAfter() {
		return appealTimeAfter;
	}
	public void setAppealTimeAfter(String appealTimeAfter) {
		this.appealTimeAfter = appealTimeAfter;
	}

	public String getPremisesId() {
		return premisesId;
	}

	public void setPremisesId(String premisesId) {
		this.premisesId = premisesId;
	}

	public List<Long> getCanViewPremisesIds() {
		return canViewPremisesIds;
	}

	public void setCanViewPremisesIds(List<Long> canViewPremisesIds) {
		this.canViewPremisesIds = canViewPremisesIds;
	}

	public String getDeptPermission() {
		return deptPermission;
	}

	public void setDeptPermission(String deptPermission) {
		this.deptPermission = deptPermission;
	}

	public Boolean getHideAgentPhone() {
		return hideAgentPhone;
	}

	public void setHideAgentPhone(Boolean hideAgentPhone) {
		this.hideAgentPhone = hideAgentPhone;
	}

	public List<Long> getPremisesIds() {
		return premisesIds;
	}

	public void setPremisesIds(List<Long> premisesIds) {
		this.premisesIds = premisesIds;
	}

	public Boolean getAllPremisesFlag() {
		return allPremisesFlag;
	}

	public void setAllPremisesFlag(Boolean allPremisesFlag) {
		this.allPremisesFlag = allPremisesFlag;
	}
	
}
